#include "Firstgame.h"

void StartGame()
{
	int chooseChar;

	cout << "Choose you character style!";
	cout << endl;
	cout << endl;
	cout << "1 - Brave Explorer";
	cout << endl;
	cout << "2 - Alchemist";
	cout << endl; 
	cout << "3 - Elven Ranger";
	cout << endl;
	cout << endl;

	cin >> chooseChar;
	
	cout << endl;
	cout << endl;

	switch ( chooseChar )
	{
	case 1:
		{
			
			cout << "You have choose the ways of the Brave Explorer! \n \n Your strength is 50, Your mana is 0 and Your dexterity is 10! \n";
			int myStrength = 50;
			int myMana = 0;
			int myDexterity = 10;
			Player one(myStrength, myDexterity, myMana);
			Sleep(5000);
			system("cls");
			break;

		}
	case 2: 
		{
			cout << "You have choosen the ways of the Alchemist! \n \n Your strength is 10, Your mana is 100 and Your dexterity is 10 \n!";
			int myStrength = 10;
			int myMana = 100;
			int myDexterity = 10;
			Player one( myStrength, myDexterity, myMana );
			Sleep(5000);
			system("cls");
			break;
		}
	case 3:
		{
			cout << "You have choose the ways of the Elven Ranger! \n \n Your strength is 30, Your mana is 0 and Your dexterity is 50 \n!";
			int myStrength = 30;
			int myMana = 0;
			int myDexterity = 50;
			Player one( myStrength, myDexterity, myMana );
			Sleep(5000);
			system("cls");
			break;
		}
	default:
		{
			cout << "You did NOT choose a valid way! \n";
			Sleep(2000);
			system("cls");
			StartGame();
		}
	}
	
	cout << "On the year of 2563, the earth has been reborn";
	Sleep(1000);
	cout << ".";
	Sleep(1000);
	cout << ".";
	Sleep(1000);
	cout << ".";
	Sleep(1000);
	cout << endl;
	cout << endl;
	system("cls");

	cout << "           ____         ___     ____            ____ " << endl;
	cout << "  |     | |     |      |       |    |  |     | |     " << endl;
	cout << "   | | |  |---  |     |       |      | | | | | |---  " << endl;
	cout << "    | |   |____ |____  |___    |____|  |  |  | |____ " << endl;
	cout << endl;
	cout << "                 _____    ____                       " << endl;
	cout << "                   |     |    |                      " << endl;
	cout << "                   |    |      |                     " << endl;
	cout << "                   |     |____|                      " << endl;
	cout << endl;
	cout << " ____                ___        ____  " << endl << "                                ____     ____    ____    " << endl;
	cout << "    |  |   |  |  |  |     |    |      " << endl << " |     |     |    ||||    |  |  |        ||      ||       " << endl;
	cout << "    |  |   |  || |  | __  |    |---   " << endl << " | | | |   | _ |  ||  ||  || |  |---      ||      ||      " << endl;
	cout << "  __|  |___|  | ||  |___| |___ |____  " << endl << " |  |  |  |     | ||||    | ||  |____    ___||  ___||     " << endl;

	Sleep(5000);
	system ("cls");

	cout << "You have just arrived earth, you know that the former inhabitants did not treat it with the much needed respect, and it has bring doom upon them!" << endl << "It is your job to re-populate it and make it a good planet, as it was in the past.";
	cout << endl;
	cout << endl;
	Sleep(10000);
	cout << "But first, you must engage in brutal fights, find good loot, and at last, use your mojo to bring humanity everywhere you know!";
	Sleep (10000);
	system ("cls");
	gameMenu();
}
